const app = getApp()

Page({
  data: {
    info: null
  },

  onLoad(option) {
    app.minipet.where({
      _id: option.id
    }).get({
      success: (res) => {
        this.setData({
          info: res.data[0]
        })
      }
    })
  },

  handleBackTap() {
    wx.navigateBack()
  }
})